import { Column, Entity, ManyToOne, OneToMany } from 'typeorm';
import { BackgroundBase } from './theme-back.entity';
import { Theme } from './theme.entity';

@Entity('sys_theme_button')
export class Button extends BackgroundBase {
  @OneToMany((type) => Theme, (theme) => theme.button)
  theme: Theme;
}
